﻿using Microsoft.EntityFrameworkCore;

namespace Tmp.Models;

//dotnet ef database update --context DataContext
//dotnet ef migrations add Initial
public class DataContext: DbContext
{
    public DataContext(DbContextOptions<DataContext> opts)
        : base(opts)
    {

    }

    public DbSet<SharedCode> SharedCodes
    {
        get;
        set;
    }

    public DbSet<Language> Languages
    {
        get;
        set;
    }
}